home *** CD-ROM | disk | FTP | other *** search
/ CSi Master: Ableton Live 5 / CSi Master: Ableton Live 5.iso / pc / rsrc / defaults / interface / interface.cst / 00015_MI1.ls < prev    next >
Encoding:
Text File  |  2004-04-15  |  1.1 KB  |  61 lines

  1. on mouseDown
  2.   
  3.   global topicLetter, subtopicNumber,lineSelect,mediaField, Master, PSMtextVis
  4.   
  5.   put line lineSelect of field mediaField into SSTmediaList
  6.   put (item 2 of SSTmediaList) into mediaName
  7.   
  8.   set master = "MI1"
  9.   
  10.   global PSMdispVisible
  11.   
  12.   if not PSMdispVisible  then
  13.     openPSMdisp
  14.   end if
  15.   
  16.   if PSMtextVis then
  17.     closePSMtext
  18.   end if
  19.   
  20.   if the number of cast mediaName > 0 then
  21.     put field mediaName into field "TextDispBoard"
  22.   else
  23.     put field "no text" into field "textDispBoard"
  24.   end if
  25.   
  26.   hidePSMcontrols
  27.   
  28.   repeat with n in [22, 23, 24, 40]
  29.     set the visible of sprite n to TRUE
  30.   end repeat
  31.   
  32.   updateStage
  33.   
  34.   global gMute, gFade
  35.   
  36.   if gMute = 0 then
  37.     repeat while the volume of sound 2 < (255 - 4)
  38.       set the volume of sound 2 to (the volume of sound 2 + 4)
  39.       updateStage
  40.       put the timer into time
  41.       repeat while the timer <= time
  42.         nothing
  43.       end repeat
  44.     end repeat
  45.     set the volume of sound 2 to 255
  46.     updateStage
  47.     set gFade = 0
  48.   end if
  49.   
  50. end
  51.  
  52.  
  53.  
  54. on mouseenter
  55.   ShowTextRoll "TextRoll-Text"
  56. end
  57.  
  58. on mouseleave
  59.   HideTextRoll
  60. end
  61.